import { createStore, combineReducers, applyMiddleware } from "redux";
import thunk from "redux-thunk";
import userReducer from "../reducers/userReducer";
import listRouter from "../reducers/listRouter";

let all = combineReducers({
  userInfo: userReducer,
  listRouter: listRouter,
});

export default createStore(all, applyMiddleware(thunk)); //放到仓库里面去
